import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { BasicInfoComponent } from './basic-info/basic-info.component';
import { BlackListComponent } from './black-list/black-list.component';
import { CheatLogComponent } from './cheat-log/cheat-log.component';
import { FeedBackLogComponent } from './feed-back-log/feed-back-log.component';
import { GuildInfoComponent } from './guild-info/guild-info.component';
import { ItemLogComponent } from './item-log/item-log.component';
import { LoginLogComponent } from './login-log/login-log.component';
import { PlayerCompensateComponent } from './player-compensate/player-compensate.component';
import { SqlQueryComponent } from './sql-query/sql-query.component';

const routes: Routes = [
  { path: '', redirectTo: 'basicInfo', pathMatch: 'full' },
  { path: 'basicInfo', component: BasicInfoComponent },
  { path: 'blackList', component: BlackListComponent },
  { path: 'cheatLog', component: CheatLogComponent },
  { path: 'feedBackLog', component: FeedBackLogComponent },
  { path: 'guildInfo', component: GuildInfoComponent },
  { path: 'itemLog', component: ItemLogComponent },
  { path: 'playerCompensate', component: PlayerCompensateComponent },
  { path: 'sqlQuery', component: SqlQueryComponent },
  { path: 'loginLog', component: LoginLogComponent }
];
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class PlayerManageRoutingModule {}
